#ifndef __calculator_H__
#define __calculator_H__

#include "sqstack.h"

void compute(sqstack *num, datatype *op);

void deal_bracket(sqstack *num, sqstack *op);

void deal_op(sqstack *num, sqstack *op, int oper);

datatype calculator(sqstack *num, sqstack *op, char *str);

#endif
